import { Component, OnInit, OnChanges, Output, EventEmitter } from "@angular/core";
import { UserService } from "./../user.service";

@Component({
  selector: "user-agreement",
  templateUrl: "agreement.component.html",
  styleUrls: ["agreement.component.less"]
})
export class UserAgreementComponent implements OnInit {
  @Output() setModal = new EventEmitter();
  constructor(private userService: UserService) { }

  ngOnInit() {
  }
  changeModal(action: string) {
    this.setModal.emit(action);
  }
}